//
//  AuditingInvoker.m
//  精通Objective-C
//
//  Created by 花强 on 2017/12/21.
//  Copyright © 2017年 花强. All rights reserved.
//

#import "AuditingInvoker.h"

@implementation AuditingInvoker

-(void)preInvoke:(NSInvocation *)inv withTarget:(id)target{
    NSLog(@"Creating audit log before sending message with selector %@ to %@ object",NSStringFromSelector([inv selector]),NSStringFromClass([target class]));
}

-(void)postInvoke:(id)inv withTarget:(id)target{
    NSLog(@"Creating audit log after sending message with selector %@ to %@ object",NSStringFromSelector([inv selector]),NSStringFromClass([target class]));
}

@end
